﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Mall.Infrastructure.Model
{
    /// <summary>
    /// 分页统一数据
    /// </summary>
    [DataContract]
    public class Page
    {


        /// <summary>
        /// 总数量
        /// </summary>
        [DataMember]
        public int Count { get; set; }

        /// <summary>
        /// 页面大小
        /// </summary>
        [DataMember]
        public int PageSize { get; set; }

        /// <summary>
        /// 总页数
        /// </summary>
        [DataMember]
        public int PageCount { get; set; }

        /// <summary>
        /// 当前页面
        /// </summary>
        [DataMember]
        public int CurrentPage { get; set; }
    }
}
